﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="show_member.aspx.cs" Inherits="SQT.tracnghiem.Ajax.ASP.Class.show_member" %>
<%@ Import Namespace="DataAccess" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<body>
    <%
        int id = int.Parse(Request.QueryString["id"]);
        var get_student = new TblUserController().FetchAll().Where(x => x.ClassX == id);
        foreach(TblUser user in get_student)
        {
         %>
    <li class="studentlinks w3-padding w3-row">
        <div class="student_id w3-hide"><%=user.UserId %></div>
        <img src="../Content/avatar/<%=user.Avatar %>" class="student-img w3-left w3-circle" />
        <div class="w3-padding-top">
            <span><%=user.FullName %></span>
        </div>
    </li>
    <%} %>
</body>
</html>
